package com.snow.datasource.exception;

import lombok.Data;

/**
 * @Description
 * @Author fanxl
 * @Date 2020/12/17
 **/
public class SnowDataSourceException extends RuntimeException {

    private Integer code;

    private String message;

    public SnowDataSourceException(){
        super();
    }
    public SnowDataSourceException(String message){
        super(message);
        this.message = message;
    }
    public SnowDataSourceException(Integer code, String message){
        super(message);
        this.code = code;
        this.message = message;
    }

}
